package mapper;

import org.apache.ibatis.annotations.Param;
import pojo.Car;

import java.util.List;

public interface carMapper {


        List<Car> selectByMultiCondition(@Param("brand") String brand , @Param("guidePrice") Double guidePrice ,@Param("carType") String carType);

        /**
         * 根据多条件查询Car，使用trim标签
         * @param brand
         * @param guidePrice
         * @param carType
         * @return
         */
        List<Car> selectByMultiConditionWithTrim(@Param("brand") String brand, @Param("guidePrice") Double guidePrice, @Param("carType") String carType);
}
